package com.zelix;

import java.io.*;
import java.util.Hashtable;

public class t6 extends pt {

    private boolean j;
    private byte n[];
    private int o;
    private s6 p[];

    t6(kt kt1, zs zs, int i) {
        super(kt1, zs, i);
        j = true;
    }

    public int c() {
        return o;
    }

    int q()
            throws tb {
        int i;
        int k;
        i = 2;
        for (k = 0; k < o; k++) {
            i += p[k].a();
        }
        super.m = i;
        return i;
    }

    zs d() {
        return super.k;
    }

    public void a(Hashtable hashtable) {
        hashtable.put(super.k, this);
    }

    void a(s6 as6[]) {
        o = as6.length;
        p = as6;
    }

    protected void a(DataOutputStream dataoutputstream, Hashtable hashtable, nh nh)
            throws IOException, tb {
        super.a(dataoutputstream, hashtable, nh);
        if (j) {
            a(dataoutputstream);
        } else
            dataoutputstream.write(n);
    }

    protected void a(DataOutputStream dataoutputstream)
            throws IOException {
        sx sx1;
        int i;
        dataoutputstream.writeShort(o);
        sx1 = new sx(-1);
        for (i = 0; i < o; i++) {
            p[i].a(dataoutputstream, sx1);
        }
    }
}